body {
    width: 100vw;
    height: 100vh;
    background-color: #2c3e50;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 26vh;
    width: 640px;
    margin: 0px auto;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #27ae60;

    input {
        height: 42px;
        flex-grow: 1;
        text-indent: 0.6em;
    }

    button {
        height: 42px;
        width: 90px;
        cursor: pointer;
        background-color: #045f2a;
        color: #fff;
        transition: 0.2s;
        border-left: 1px solid #27ae60;

        &:hover {
            background-color: #27ae60;
        }
    }
}

.list-wrapper {
    width: 100%;
    height: 400px;
    margin-top: 10px;
    background-color: #ecf0f1;
    overflow-y: scroll;

    ul {
        li {
            height: 60px;
            display: flex;
            align-items: center;
            background-color: #f39c12;
            margin-bottom: 4px;
            box-sizing: border-box;
            padding-left: 24px;

            &:last-of-type {
                margin-bottom: 0px;
            }

            input {
                margin-right: 8px;
            }

            button {
                background-color: #c0392b;
                color: #fff;
                padding: 6px 20px;
                border-radius: 4px;
                margin-left: auto;
                margin-right: 12px;
                cursor: pointer;
                transition: 0.3s;

                &:hover {
                    background-color: red;
                }
            }
        }
    }

    .blank {
        text-align: center;
        padding-top: 180px;
        letter-spacing: 0.2em;
    }
}

.footer-wrapper {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ededed;
    padding: 10px;
    margin-top: 10px;
    color: #fff;
    display: flex;
    align-items: center;

    input {
        margin-right: 6px;
        width: 22px;
    }

    button {
        background-color: #c0392b;
        color: #fff;
        padding: 6px 20px;
        border-radius: 4px;
        margin-left: auto;
        margin-right: 12px;
        cursor: pointer;
        transition: 0.3s;

        &:hover {
            background-color: red;
        }
    }
}